package com.gitee.hermer.engine.jars.core.xauth;

import java.util.List;

import com.gitee.hermer.engine.jars.core.xauth.domain.DynamicMenu;
import com.jc.support.auth.web.authc.Account;
import com.jc.support.user.bo.DynamicMenuBO;

public interface IXAuthService {
	
	List<DynamicMenu> getEngineMenus();
	
	Account getCurrentAccount();
	
	void setCurrentSessionAttribute(String key,String value);
	
	
	<T> T getCurrentSessionAttribute(String key);
	
	String getId();
	
	List<DynamicMenu> generateMenuTree(List<DynamicMenuBO> list);
	

}
